
{% block scripts %}
<script type="text/javascript">
$(document).ready(function() {
                $('.pass, .uname').focus(function() {
                                this.value = '';
                });
});
</script>
        
{% endblock %}


{% if form.errors %}
<p class="error">Sorry, incorrect usernamez or password.</p>

{% endif %}

<form action='/reporter/login/' method='post' id='userform'>

        <input type="text" name="username" value="User Name" id="username" class='uname'>

        <input type="password" name="password" value="Password" id="password" class='pass'>
        
        <input type="submit" value="login" />
        <input type="hidden" name="next" value="{{ next|escape }}" />
        <form action='.' method ='post'>
</form>
<div align="right">Don't have an account? <a href="/reporter/newuser" id='reglink'>Register</a> for one.</div>

